﻿Friend Class ScanTracker
    Public Recursive As Boolean

    Public CurrentPath As String
    Public Share As Entities.SharedWatchFolder

    Public ValidPaths As New Generic.Dictionary(Of String, String)

    Public ItemsThatChanged As New Generic.Dictionary(Of Integer, Entities.SharedItem)

    Public Sub AddChangedItem(ByVal item As Entities.SharedItem)
        If Not ItemsThatChanged.ContainsKey(item.Id) Then ItemsThatChanged.Add(item.Id, item)
    End Sub
    Public Sub RemoveChangedItem(ByVal item As Entities.SharedItem)
        If ItemsThatChanged.ContainsKey(item.Id) Then ItemsThatChanged.Remove(item.Id)
    End Sub
End Class
